package com.fsy.demo.demo;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = {
        "com.fsy.demo.demo.dao"
})
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
        //mybatis 基础用法example
//        QueryWrapper<Object> wrapper = new QueryWrapper<Object>();
//        User user = new User();
//        user.setUsername("hello");
//        wrapper.setEntity(user);
//        List<User> users = baseMapper.selectList(wrapper);


    }

}
